package com.xms.datacore;

import org.springframework.transaction.interceptor.TransactionAspectSupport;

/**
 * <p>
 * TransactionUtil
 * </p>
 *
 * @author migo
 * @since 2021/9/30
 */
public class TransactionUtil {
    public static void rollBack(){
        TransactionAspectSupport.currentTransactionStatus().setRollbackOnly();
    }
}
